<?php
class Contents_model extends Model
{
	function __consrtuct()
	{
		parent::__construct();	
	}
	
	function getResultsByName($content_name = "landing_page")
	{
		$this->load->database();
		$query = $this->db->get_where('bur_staticpages', array('staticpage_link' => $content_name));
		
		return $query->result();
		
	}
}
?>